//jeecms 自带基本 Api
import baseApi from "./apiModules/baseApi"
//资源管理 Api
import resourceManageApi from "./apiModules/resourceManageApi";
//活动管理
import activityManageApi from "./apiModules/activityManageApi";

function setAdminApi(path) {
    let global = '/api/admin/';
    return global + path;
}


//将各模块 api 合并
const api = Object.assign(
    baseApi,
    resourceManageApi,
    activityManageApi,
);


export default api;


